package br.com.lambdacore.validator;

import java.util.Collection;
import java.util.Map;

import br.com.lambdacore.validator.impl.ArrayValidator;
import br.com.lambdacore.validator.impl.ClassValidator;
import br.com.lambdacore.validator.impl.CollectionValidator;
import br.com.lambdacore.validator.impl.MapValidator;
import br.com.lambdacore.validator.impl.NumberValidator;
import br.com.lambdacore.validator.impl.ObjectValidator;
import br.com.lambdacore.validator.impl.StringValidator;
import br.com.lambdacore.validator.impl.ValidatorImpl;

public class Validator {

	public static ClassValidator is(Class<?> object) {
		return ValidatorImpl.is(object);
	}

	public static CollectionValidator is(Collection<?> collection) {
		return ValidatorImpl.is(collection);
	}

	public static MapValidator is(Map<?, ?> map) {
		return ValidatorImpl.is(map);
	}

	public static NumberValidator is(Number number) {
		return ValidatorImpl.is(number);
	}

	public static ObjectValidator is(Object object) {
		return ValidatorImpl.is(object);
	}

	public static ArrayValidator is(Object[] objects) {
		return ValidatorImpl.is(objects);
	}

	public static StringValidator is(String string) {
		return ValidatorImpl.is(string);
	}

}
